package com.jy.app.lib.update;

import android.content.Context;

import com.jy.app.lib.base.BaseConfig;

public class DownloadAppConfig extends BaseConfig {

	public DownloadAppConfig(Context context) {
		super(context, "DownloadAppConfig");
	}
	
	public void setNetUpDateTime(long time){
		setLongWithCache("UpDateTime", time);
	}
	
	public void setDownLoadId(long id){
		setLongWithCache("id",id);
	}

	public void setDownLoadPathName(String pathName){
		setStringWithCache("pathName",pathName);
	}

	public Long getNetUpDateTime(){
		return getLongWithCache("UpDateTime", 0);
	}
	
	public Long getDownLoadId(){
		return getLongWithCache("id",-1);
	}

	public String getDownLoadPathName(){
		return getStringWithCache("pathName","");
	}
}
